fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

path

io.dir.open.path

Applicable universe features

These are features in universe, that have an argument with a type constraint that matches this features type and can therefore be used with it.
equals(T:property.equatable,a T,b T) => bool[src]
equals -- feature that compares two values using the equality relation
defined in their type
hash(T:property.hashable,a T) => u64[src]
hash of a value
infix !=(T:property.equatable,a T,b T) => bool[src]
infix = -- infix operation as shorthand for 'equals'
infix <(T:property.orderable,a T,b T) => bool[src]
does this come strictly before other?
infix <=(T:property.partially_orderable,a T,b T) => bool[src]
infix <= -- infix operation as shorthand for 'lteq'
infix <>(T:property.orderable,a T,b T) => order[src]
three-way comparison between this and other.

result is < 0 if this < other
result is > 0 if this > other
result is = 0 if this = other
infix =(T:property.equatable,a T,b T) => bool[src]
infix = -- infix operation as shorthand for 'equals'
infix >(T:property.orderable,a T,b T) => bool[src]
does this come strictly after other?
infix >=(T:property.orderable,a T,b T) => bool[src]
does this come after other?
infix ∈(T:property.equatable,a T,s container.Set T) => bool[src]
is `a` contained in `Set` `s`?

This should usually be called using type inference as in

infix ∉(T:property.equatable,a T,s container.Set T) => bool[src]
is `a` not contained in `Set` `s`?

This should usually be called using type inference as in

infix ≤(T:property.partially_orderable,a T,b T) => bool[src]
infix ≤ -- infix operation as shorthand for 'lteq'
infix ≥(T:property.orderable,a T,b T) => bool[src]
does this come after other?
infix ⋄(T:property.orderable,a T,b T) => order[src]
three-way comparison between this and other.

result is < 0 if this < other
result is > 0 if this > other
result is = 0 if this = other
lteq(T:property.partially_orderable,a T,b T) => bool[src]
lteq -- feature that compares two values using the lteq relation
defined in their type
max(T:property.orderable,a T,b T) => T[src]
maximum of two values
memoize(MM:container.Mutable_Map T R,T:property.equatable,R:Any,f Unary R T) => Unary R T[src]
memoize `f`.
wraps f so that f will only be called once for every unique input.

The term "memoization" was coined by Donald Michie in 1968 and
is derived from the Latin word "memorandum" ("to be remembered"),
usually truncated as "memo" in American English, and thus carries
the meaning of "turning a function into something to be remembered".
https://en.wikipedia.org/wiki/Memoization

example:

min(T:property.orderable,a T,b T) => T[src]
minimum of two values
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23